FROM openjdk:11-jre-slim
RUN apt update && apt -y install libfreetype6-dev
COPY ${rootArtifactId}-starter/target/${rootArtifactId}-starter-*.jar /app/myapp.jar
CMD ["bash", "-c", "java -jar /app/myapp.jar"]